import { httpDelete, httpGet, httpPost, httpPut } from "../utils/http"


export const addProjectApi = (data) => {
    return httpPost("/serviceItems/add", data)
}

export const reviseProjectApi = (data) => {
    return httpPut("/serviceItems/update", data)
}

export const searchProjectApi = () => {
    return httpPost("/serviceItems/search")
}

export const deleteProjectApi = (data) => {
    return httpDelete("/serviceItems/remove", data)
}

//查询单个
export const lookOneProjectApi = (data) => {
    return httpGet("/serviceItems/detail", data)
}